﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage.master" validateRequest="false" AutoEventWireup="true" CodeFile="articles.aspx.cs" Inherits="admin_articles" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1 class="admin-position">当前位置 -> 文章管理 -> 添加文章</h1>
<script type="text/javascript" src="../../plugins/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="../../plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
    CKEDITOR.replace('ta_ckeditor');
    function datepick(){
		WdatePicker({skin:'blueFresh',dateFmt:'yyyy-MM-dd'});
	}
</script>
<table cellpadding="0" cellspacing="0" class="admin-post-table">
    <tr>
        <th>标题</th><td><input name="subject" type="text" style="width:200px;" /></td>
    </tr>
    <tr>
        <th>日期</th><td><input name="eventdate" type="text" onclick='datepick();' /></td>
    </tr>
    <tr>
        <th>标签</th><td><input name="tags" type="text" /></td>
    </tr>
    <tr>
        <th>图片</th><td><asp:FileUpload ID="file" runat="server" /></td>
    </tr>
    <tr>        
        <th>内容</th><td><textarea id="ta_ckeditor" class="ckeditor" name="content" cols="20" rows="2" style="overflow:auto"></textarea></td>
    </tr>
    <tr>
        <th>外链</th><td><input name="foreign_url" type="text" style="width:300px;" /></td>
    </tr>
    <tr>
        <th>类别</th><td><input name="type" type="text" /></td>
    </tr>
    <tr>
        <th style="height:30px;">置顶</th><td><input type="radio" name="settop" value="0" checked="checked" /> 不置顶 <input type="radio" name="settop" value="1"/> 置顶</td>
    </tr>
    <tr>
        <th>作者</th><td><input name="author" type="text" style="width:100px;" /></td>
    </tr>
</table>


<input type="submit" value="提交" />

</asp:Content>

